package top.melody.ecommerce.webapps.www.base;

public final class Constant {

    public static final String COOKIE_ACCOUNT_KEY = "accountCookie";
    public static final String SESSION_ACCOUNT_KEY = "accountSession";
    public static final String SESSION_SIGNUP_SMS_KEY = "signUpSmsSession";
    public static final String VERIFY_CODE = "verifyCode";

    //-------------------------global error(for i18n) begin --------------------------//
    public static final String ERROR_OPERATE_FAILED = "error.exception.error";
    public static final String ERROR_SMS_CODE_EXPIRED_ERROR = "error.sms.code.expired.error";
    //-------------------------global error(for i18n) end --------------------------//

    //-------------------------account(for i18n) begin --------------------------//
    //-------------------------account sign in,sign up error--------------------------//
    public static final String ERROR_AGREEMENT_DISAGREE_ERROR = "error.account.sign.up.agreement.disagree.error";
    public static final String ERROR_ACCOUNT_PASS_CONFPASS_MATCH_ERROR = "error.account.sign.up.pass.confpass.match.error";
    public static final String ERROR_SMS_CODE_SIGN_UP_INCORRECT_ERROR = "error.sms.code.sign.up.incorrect.error";
    public static final String ERROR_ACCOUNT_UNSIGN_UP_ERROR = "error.account.unsign.up.error";
    public static final String ERROR_ACCOUNT_SIGN_IN_PASS_INCORRECT_ERROR = "error.account.signin.pass.incorrect.error";
    public static final String ERROR_ACCOUNT_LOCKED_ERROR = "error.account.locked.error";
    //-------------------------account(for i18n) end --------------------------//

    //-------------------------set password begin-----------------------------//
    public static final String ERROR_ACCOUNT_SET_PASSWORD_CONFPASS_MATCH_ERROR = "error.account.set.password.confpass.match.error";
    public static final String ERROR_ACCOUNT_SET_PASSWORD_OLDPASS_INCORRECT_ERROR = "error.account.set.password.oldPass.incorrect.error";
    //-------------------------set password begin-----------------------------//
}
